package com.axiyue.trip.response;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "QueryWebFlights_1_1")
public class QueryWebFlights {
	private List<TicketRule> ticketRule;

	public List<TicketRule> getTicketRule() {
		return ticketRule;
	}

	public void setTicketRule(List<TicketRule> ticketRule) {
		this.ticketRule = ticketRule;
	}

	public void addTicketRule(TicketRule ticketRuleObj) {
		if(this.ticketRule ==null)
		{
			this.ticketRule = new ArrayList<TicketRule>();
		}
		this.ticketRule.add(ticketRuleObj);
	}
	
	
	

}
